# -*- coding: utf-8 -*-

from apps.models import Event
from datetime import datetime

class Events():
    def __init__(self):
        pass
    
    def get(self):
        objects = Event.objects.filter(eventtime__gt=datetime.now()).order_by("eventtime")
#        objects = Event.objects.all()
#        raise str(objects)
        return objects